<?php 
    require_once("include/game_core.php");

    // check if new user was registered
    if( ! (isset($_SESSION['new_user_reg']) && 
            $_SESSION['new_user_reg'] )  )  {
        // if not!!
        header( 'Location: index.php' ) ;
    }

    $_SESSION['new_user_reg'] = 0;  //uncheck new user - so user can't access this page again
    
    require_once(VIEW_BASE_FILE);    
    $view = new view_base();
    $view->ShowHeader();
    $view->ShowMenu();
    $view->ShowConatinerHead();
?>
<div id="content">
    <table width="100%">
        <tr>
            <td><h2>Congrats</h2></td><td width="70"><img src="images/ligth.png"</td>
        </tr>
    </table>
    <h3>You're officially a browser warrior!</h3>
    <br/>
    <p>So what now?</p>
    <ul>
        <li><a href="about.php">Learn how to play</a></li>
        <li><a href="profile.php">View your profile</a></li>
        <li><a href="stats.php">Show general game stats</a></li>
        <li><a href="waiting_room.php">Fight!</a></li>
    </ul>
</div>
<?php include (VIEW_SIDE_FILE); ?>
<?php   $view->ShowFooter();      ?>